let mixins={
    mounted() {
        $('.page-wrapper').show()
    },
    data() {
        return {
            loading:false,
            alertWrap:false,
            modelType:'',
            oneself:{
                slider1:false,
                slider2:false,
                slider3:false,
                slider4:false,
            }

        }
    },
    methods: {
        select(origin,ip){
            if (origin=='oneself') {
                for(var i=0;i<4;i++){
                    if ('slider'+(i+1)==ip) {
                       continue 
                    }
                    this.oneself['slider'+(i+1)]=false
                  }
                 this.oneself[ip]=!this.oneself[ip]  
                           
            }

        },
        addProduct(){
            this.alertWrap=true
            this.modelType='新增'
        },
    },
}